#pragma once
#include "head.h"


// order定义
constexpr float ORDER_BG = Math::OffsetOrder(1.0f, -1);
constexpr float ORDER_CHESS_BG = Math::OffsetOrder(ORDER_BG, -1);
constexpr float ORDER_CHESS_GRID = Math::OffsetOrder(ORDER_CHESS_BG, -1);
constexpr float ORDER_CHESS_MAN = Math::OffsetOrder(ORDER_CHESS_GRID, -1);

class Res
{
public:
	// 楚河 汉界
	gcText GetTextBoardCenter();
	// 棋子
	gcText GetTextMan(bool is_red);
	// 木质按钮
	UI::ButtonSprite* GetButtonWood();
	// 文本框
	UI::EditBox* GetEditBox();
};

extern Res* g_Res;